﻿@* Ui层项目 - npm启动脚本文件 *@
@using Util.Generators.Helpers
@model Util.Generators.Contexts.EntityContext
@{
    var service = new GenerateService( Model );
    Model.Output.FileNameNoExtension = "start";
    Model.Output.Extension = ".ps1";
    Model.Output.RelativeRootPath = $"src/{service.GetUiProjectName()}/ClientApp";
}
Write-Host "install npm..."
yarn
Write-Host "npm start..."
npm start